package com.zxp.common.core.security.properties;

import com.zxp.common.core.security.properties.authorize.AuthorizeProperties;
import com.zxp.common.core.security.properties.frame.FrameProperties;
import com.zxp.common.core.security.properties.jwt.JwtProperties;
import com.zxp.common.core.security.properties.logout.LogoutProperties;
import com.zxp.common.core.security.properties.rememberme.RememberMeProperties;
import com.zxp.common.core.security.properties.session.SessionProperties;
import com.zxp.common.core.validatecode.ValidateCodeProperties;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;


/**
 * 总的Browser模块Security配置类
 *
 * @author chentongwei@bshf360.com 2018-05-25 11:52
 */
@ConfigurationProperties(prefix = "zxp.security")
@Data
public class SecurityProperties {

    /** 退出登录基本配置 */
    private LogoutProperties logout = new LogoutProperties();
    /** 记住我基本配置 */
    private RememberMeProperties rememberme = new RememberMeProperties();
    /** iframe的基本配置 */
    private FrameProperties frame = new FrameProperties();
    /** session的基本配置 */
    private SessionProperties session = new SessionProperties();

    private JwtProperties jwt = new JwtProperties();

    /** 验证码配置 */
    private ValidateCodeProperties code = new ValidateCodeProperties();

    /** 权限配置 */
    private AuthorizeProperties authorize = new AuthorizeProperties();

}
